package com.uinnova.product.eam.vo;

import com.binary.framework.bean.annotation.Comment;
import com.uinnova.product.eam.constant.RoteStartType;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Comment("架构评审值班表配置保存入参")
@Data
public class ArchReviewRotaConfSaveReq {

    @Comment("值班表id")
    private Long id;
    @Comment("名称")
    private String name;
    @Comment("启用方式")
    private RoteStartType startType;
    @Comment("启用日期")
    private String startDate;
    @Comment("负责人")
    private List<String> directors;
    @Comment("值班表明细")
    private List<Detail> details;

    @Data
    @Comment("值班表明细")
    public static class Detail {
        @Comment("开始时间")
        private String startDate;
        @Comment("结束时间")
        private String endDate;
        @Comment("负责人")
        private List<String> directors;
        @Comment("备注")
        private String notes;
    }
}
